﻿using BP.Plugin.Monitor.Infrastructure.Middlewares;
using Core.Infrastructure;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace BP.Plugin.Monitor;

/// <summary>
/// 响应监控
/// </summary>
public class BoilerplateResponseLogStartup : IBoilerplateStartup
{
    public int Order => 801;

    public void Configure(IApplicationBuilder application)
    {
        application.UseMiddleware<ResponseLoggingMiddleware>();
    }

    public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
    {
    }
}

